package assignment5;

public class Apples extends GoodsInfo {
	public Apples(double Price, double weights) {
		super("apples", Price);
		this.weights = weights;
	}
	public void Show() {
		super.Show();
		System.out.println("weights: "+weights+'\t'+"TotalPrice: "+weights*Price);
	}
	private double weights;
}